package mhr;

public class ForloopTest {

	
	
	public ForloopTest() {

		
		first: 
		for (int i = 0; i < 5; i++) {
			System.out.println("OuterLoop: " + i);
			
			for (int ii = 0; ii < 5; ii++) {
				System.out.println("\tInnerLoop: " + ii);
				
				if (i == 2) {
					if (ii == 4) {
						System.out.println("Break now at: " + i +", "+ ii);
						break first;
					}
				}
				
			}
			
		}
		
	}
	
	public static void main(String[] args) {
		new ForloopTest();
	}
}
